package com.wxyzz.satserver.friend.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.wxyzz.satserver.friend.entity.AddFriendRequest;
import com.wxyzz.satserver.friend.entity.vo.FriendVO;
import io.swagger.models.auth.In;

import javax.servlet.http.HttpServletRequest;
import java.io.FileReader;
import java.net.UnknownServiceException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wyz
 * @since 2024-11-14
 */
public interface IFriendService  {
    List<FriendVO> selectFriendList(Integer userId);

    List<FriendVO> findFriend(int i, String name);

    void addFriend(int friendId, String reason, HttpServletRequest req);


    List<AddFriendRequest> getFriendRequest(HttpServletRequest req);

    void acceptFriend(int friendId, HttpServletRequest req);

    void rejectFriend(int friendId, HttpServletRequest req);
}
